import java.util.ArrayList;


public class Player {
	private Deck deck = new Deck();
	private int howMany = 2;
	private String card = "";
	private ArrayList<String> cards = new ArrayList<String>();
	private String name;
	
	public Player(String name){
		this.name = name;
	}
	
	public String getName() {
		return name;
	}
	
	public ArrayList<String> getCards(){
		for(int i = 0; i < howMany; i++){
			card = deck.giveCard();
			cards.add(card);			
		}
		return cards;
	}
}
